PopupWindowState

constructor(browser: Browser, dragAndDropOptions: State<DragAndDropOptions>, bounds: Rect = DEFAULT_POPUP_BOUNDS, onClose: (PopupWindowState) -> Unit, scope: CoroutineScope)

Parameters

browser

The popup browser.

dragAndDropOptions

The state of drag-and-drop options to be applied to the popup.

bounds

The initial bounds of the popup.

scope

The coroutine scope used to update Compose observables.

onClose

A callback to be called when the popup is closed.